package com.gopay.common.vo;

import java.io.Serializable;

/**
 * 键盘芭蕾注册/认证结果封装类
 * @author yu_liu6@hnair.com
 * @date 2018-05-22 19:53:22
 */
public class PwdCtrlFingerVerifyResultVO implements Serializable {
    private static final long serialVersionUID = 7899334843370174278L;

    /**
     * 动作类型：PdReg-建模，PdAuth-认证
     */
    private String actionType;

    /**
     * 是否建模成功
     */
    private Boolean regSuccess;

    /**
     * 是否建模/认证通过
     */
    private Boolean verifySuccess;

    /**
     * 返回码
     */
    private String code;

    /**
     * 返回结果
     */
    private String result;

    /**
     * 相似度
     */
    private String similarity;

    /**
     * 相似度最小值
     */
    private String similarityMin;

    //目前固定为1
    private String appType;
    /**
     * 用户名，custId/operId + [操作员id] + login/pay
     */
    private String userName;
    /**
     * 本次密码的hash值
     */
    private String pwdResultHash;
    /**
     * 本次32位随机数
     */
    private String randomNum;
    /**
     * 用户按键信息采集
     */
    private String userFinger;

    public String getActionType() {
        return actionType;
    }

    public void setActionType(String actionType) {
        this.actionType = actionType;
    }

    public Boolean isRegSuccess() {
        return null == regSuccess ? false : regSuccess;
    }

    public void setRegSuccess(Boolean regSuccess) {
        this.regSuccess = regSuccess;
    }

    public Boolean isVerifySuccess() {
        return null == verifySuccess ? false : verifySuccess;
    }

    public void setVerifySuccess(Boolean verifySuccess) {
        this.verifySuccess = verifySuccess;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getSimilarity() {
        return similarity;
    }

    public void setSimilarity(String similarity) {
        this.similarity = similarity;
    }

    public String getSimilarityMin() {
        return similarityMin;
    }

    public void setSimilarityMin(String similarityMin) {
        this.similarityMin = similarityMin;
    }

    public String getAppType() {
        return appType;
    }

    public void setAppType(String appType) {
        this.appType = appType;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getPwdResultHash() {
        return pwdResultHash;
    }

    public void setPwdResultHash(String pwdResultHash) {
        this.pwdResultHash = pwdResultHash;
    }

    public String getRandomNum() {
        return randomNum;
    }

    public void setRandomNum(String randomNum) {
        this.randomNum = randomNum;
    }

    public String getUserFinger() {
        return userFinger;
    }

    public void setUserFinger(String userFinger) {
        this.userFinger = userFinger;
    }

    public String getResult() {
        return result;
    }

    public void setResult(String result) {
        this.result = result;
    }

    @Override
    public String toString() {
        return "PwdCtrlFingerVerifyResultVO{" +
                "actionType='" + actionType + '\'' +
                ", regSuccess=" + regSuccess +
                ", verifySuccess=" + verifySuccess +
                ", code='" + code + '\'' +
                ", result='" + result + '\'' +
                ", similarity='" + similarity + '\'' +
                ", similarityMin='" + similarityMin + '\'' +
                ", appType='" + appType + '\'' +
                ", userName='" + userName + '\'' +
                '}';
    }
}
